package com.linmo.chatmanage;

public class SessionRecordDTO {
    private String role;
    private String message;
    private int sessionId;

    // 构造函数
    public SessionRecordDTO(int sessionId, String role, String message) {
        this.sessionId = sessionId;
        this.role = role;
        this.message = message;
    }

    public SessionRecordDTO() {
    }


    /**
     * 获取
     * @return role
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 获取
     * @return message
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置
     * @param message
     */
    public void setMessage(String message) {
        this.message = message;
    }

    public String toString() {
        return "SessionRecordDTO{role = " + role + ", message = " + message + "}";
    }


    /**
     * 获取
     * @return sessionId
     */
    public int getSessionId() {
        return sessionId;
    }

    /**
     * 设置
     * @param sessionId
     */
    public void setSessionId(int sessionId) {
        this.sessionId = sessionId;
    }
}